﻿<%@ Page Language="vb" AutoEventWireup="true" CodeBehind="listrss.aspx.vb" Inherits="FishTank.listrss"
    ContentType="text/xml" %>

<asp:repeater id="aquariumRSS" runat="server">
<HeaderTemplate>  
    <rss version="2.0">  
        <channel>  
            <title>FishTank</title>  
            <link><%# getLeftPartURL() %></link>  
            <description>  
             FishTank is a Web 2.0 site for aquarium enthusiasts. Registered users are 
             encouraged to create content and exchange information with other members.
            </description> 
            <language>en-us</language>
            <copyright>Copyright 2012 FishTank</copyright> 
            <webMaster>admin@fishtank.net</webMaster>
</HeaderTemplate>  
<ItemTemplate>  
    <item>  
        <title><%# encodeHTML(Eval("Title")) %></title>  
        <link><%# getLeftPartURL() %>/details.aspx?ID=<%# Eval("ID")%></link>  
        <description><%# encodeHTML(Eval("Description")) %></description> 
        <pubDate><%# Format(Eval("CreatedDateTime"), "R")%></pubDate>   
        <author><%# encodeHTML(Eval("MemberFullName"))%></author>  
</item>  
</ItemTemplate>  
<FooterTemplate>  
        </channel>  
    </rss>  
</FooterTemplate> 
</asp:repeater>
